package com.xkcyy.study.spring.mvc.handlers;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * UserController
 *
 * @author yuand
 * @date 2021/6/14
 **/
@RestController
@RequestMapping("user")
public class UserController {
    @GetMapping
    public Object test() {
        return "123";
    }

    @GetMapping
    @RequestMapping("test2/*")
    public Object test2() {
        return "123";
    }

    public Object test3() {
        return "123";
    }
}
